/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package JFreeChartExtensions.exceptions;

import JFreeChartExtensions.interfaces.Plugin;

/**
 *
 * @author Nobody
 */
public class ExtensionLauncherException extends Exception{

    public static final String defaultMessage = "exception during intialization of extension ";

    public ExtensionLauncherException(String message, Throwable cause) {
        super(message, cause);
    }

    public ExtensionLauncherException(Plugin plugin, Throwable cause) {
        super(defaultMessage + plugin.getName(), cause);
    }

    public ExtensionLauncherException(String message) {
        super(message);
    }

    public ExtensionLauncherException() {
    }

}
